package br.ufmg.dcc.paa;

import java.io.IOException;
import java.util.Arrays;

public class Main {

	public static void main(String[] args) throws IOException {
		if (args.length < 1)
			System.exit(1);
		
		AndersenAA aa = new AndersenAA(args[0]);
		aa.generateAliasSet();
		//System.out.println(aa.alias("a", "c"));
		System.out.println(Arrays.toString(aa.aliasSets().entrySet().toArray()));
	}

}
